<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
%>
<%@page import="com.baosight.iplat4j.core.resource.I18nMessages"%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
 <style type="text/css"> 
.ef-layout-vertical-middle:before {
     float:right;
} </style> 
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCC00" method="POST" action="<%=actionUrl%>"> 
	        <EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdKeyId" cname="主键" etc=" "/>
	        <EF:EFInput type="hidden" ename="fdCreatorId" cname="登录人Id"/>
			<EF:EFInput type="hidden" ename="fdCreator" cname="登录人"/>
			<EF:EFInput type="hidden" ename="fdCreateDepartmentId" cname="单位ID"/>
			<EF:EFInput type="hidden" ename="fdCreateDepartment" cname="单位"/>
			<EF:EFInput blockId="result" type="hidden" ename="fdMiningId" cname="矿井id"/>
	       <%--  <EF:EFInput blockId="result_add" row="0" type="text" ename="fdProblemStatus" cname="问题状态" etc=" "/>
		    <EF:EFInput blockId="result_add" row="0" type="text" ename="fdBusinessDepartmentId" cname="责任部门ID" etc=" "/>
		    <EF:EFInput blockId="result_add" row="0" type="text" ename="fdSubmitorDepartmentId" cname="提出部门ID" etc=" "/>
	        <EF:EFInput blockId="result_add" row="0" type="text" ename="fdSubmitorId" cname="提出人ID" etc=" "/>
		    <EF:EFInput blockId="result_add" row="0" type="text" ename="fdCreateUserId" cname="录入人ID" etc=" "/> --%>
			
			
			<div id = "ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true>
				<div class="row-fluid"> 
					<div class="span4">
					    <EF:EFSelect blockId="inqu_status" row="0" ename="fdBusinessDepartmentId" cname="责任单位：" etc="style='width:140.8px;'">
					        <EF:EFOption label='' value=""/>
							<EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
						</EF:EFSelect>
				    </div>  
				    <div class="span4">
					    <EF:EFSelect blockId="inqu_status" row="0" ename="fdProblemTypeId" cname="问题类型：" etc="style='width:140.8px;'">
					        <EF:EFOption label='' value=""/> 
							<EF:EFOptions blockId="cmes.cp.problemType" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect>
				    </div>
				    <div class="span4">
						<EF:EFSelect blockId="inqu_status" row="0" ename="fdProblemStatus" cname="问题状态：" etc="style='width:140.8px;'">
						    <EF:EFOption label='' value=""/>
						    <EF:EFOptions blockId="cmes.cp.problemStatus" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect>
					</div> 
				</div>
				<div class="row-fluid"> 
					<div class="span4">
						<EF:EFSelect blockId="inqu_status" row="0" ename="fdProblemLevelId" cname="问题级别：" etc="style='width:140.8px;'">
						    <EF:EFOption label='' value=""/>
							<EF:EFOptions blockId="cmes.cp.problemLevel" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect>
				    </div>   
					<div class="span4">
		                <EF:EFInput blockId="inqu_status" cname="起始日期：" ename="fdBeginDate" row="0" popup="date" dateFormatString="yyyy-MM-dd" etc="style='width:124.8px;'"/>
	                </div>
	                <div class="span4">
		                <EF:EFInput blockId="inqu_status" cname="截止日期：" ename="fdEndDate" row="0" popup="date" dateFormatString="yyyy-MM-dd" etc="style='width:124.8px;'"/>
	                </div>
				</div>
			</div>
		
		<div id="ef_region_result" title="记录集" style="overflow: scroll">
			<div id="ef_grid_result" title="页面信息" style="overflow: hidden; height: 300px;"></div>
		</div>
		<EF:EFRegion /> 

         <EF:EFGrid title="结果集" blockId="result" autoDraw="no" readonly="false" paintId="ef_grid_result" style="navigationBar:true;operationBar:false" ajax="true">   
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdProblemPlace" cname="发生地点" enable="false" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入1~250个字符" align="center" width="100" />
			<EF:EFComboColumn ename="fdProblemStatus" cname="问题状态" enable="false" blockName="cmes.cp.problemStatus" labelProperty="display" valueProperty="value" align="center" width="60" />
		    <EF:EFComboColumn ename="fdProblemTypeId" cname="问题类型" enable="false" blockName="cmes.cp.problemType" labelProperty="display" valueProperty="value" align="center" width="100" />
			<EF:EFComboColumn ename="fdProblemLevelId" cname="问题级别" enable="false" blockName="cmes.cp.problemLevel" labelProperty="display" valueProperty="value" align="center" width="60" />
			<EF:EFComboColumn ename="fdProblemOrigin" cname="问题来源" enable="false" blockName="cmes.cp.problemOrigin" labelProperty="display" valueProperty="value" align="center" width="80" />
			<EF:EFColumn ename="fdProblemDescription" cname="问题描述" enable="false" validateRegex="/^.{0,400}$/" validateErrorPrompt="输入1~400个字符" align="center" width="100" />
			<%-- <EF:EFColumn ename="fdBusinessDepartment" cname="责任部门" align="center" width="80" /> --%>
			<EF:EFComboColumn ename="fdBusinessDepartmentId" cname="责任部门" enable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" width="100" />
			<EF:EFColumn ename="fdBusinessMan" cname="责任人" enable="false" validateRegex="/^.{1,10}$/" validateErrorPrompt="输入1~10个字符" align="center" width="80" />
			<EF:EFComboColumn ename="fdSubmitorDepartmentId" cname="提出部门" enable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" width="100" />
			<%-- <EF:EFColumn ename="fdSubmitorDepartment" cname="提出部门名称" align="center" width="100" /> --%>
			<EF:EFColumn ename="fdSubmitor" cname="提出人" enable="false" align="center" width="80" />
			<%-- <EF:EFColumn ename="fdSubmitor" cname="*提出人" validateRegex="/^\S{1,25}$/" validateErrorPrompt="输入1~25个字符，不能输入空格" align="center" width="100" /> --%>
			<EF:EFColumn ename="fdCreateUserId" cname="录入人" enable="false" align="center" width="80" visible="false"/>
			<%-- <EF:EFColumn ename="fdCreateUser" cname="录入人" align="center" width="80" /> --%>
			<EF:EFColumn ename="fdCreateTime" cname="创建时间" enable="false" dateFormatString="yyyy-MM-dd hh:mm:ss" editType="datetime" align="center" width="130" visible="false"/>
			<EF:EFColumn ename="fdProblemDate" cname="发生日期" enable="false" dateFormat="yyyy-MM-dd" editType="date" align="center" width="80" />
			<EF:EFColumn ename="fdProblemTime" cname="发生时间" enable="false" align="center" width="80"></EF:EFColumn>
 	        <EF:EFColumn ename="fdDeadlineDate" cname="解决日期" enable="false" align="center" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdDeadlineTime" cname="解决时间" enable="false" align="center" width="80"></EF:EFColumn>		
			<EF:EFColumn ename="fdIsRepeat" cname="是否重复问题" enable="false" align="center" width="80" />
			<EF:EFColumn ename="fdIsPenalty" cname="是否罚款" enable="false" visible="false" align="center" width="80"/>
			<EF:EFColumn ename="fdPenaltyIds" cname="罚款记录" enable="false" visible="false" align="center" width="80"/>
			<EF:EFColumn ename="fdRemarks" cname="备注" enable="false" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入1~250个字符" align="center" width="100" />
 		</EF:EFGrid>
 	
        <!-- 新增生产问题 -->
		<div id="ef_region_mainadd" title="生产问题" style="overflow: scroll"> 
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdKeyId" cname="主键"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdSubmitorId" cname="提出人ID"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdCreateUserId" cname="录入人ID"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdPenaltyIds" cname="罚款记录ID'S"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdSubmitorDepartment" cname="提出部门"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdIsPenalty" cname="是否罚款"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdCreateTime" cname="创建时间" etc="readonly='readonly'"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdProblemDate" cname="发生日期" etc="maxLength='19' size='19'"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdProblemTime" cname="发生时间"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdDeadlineDate" cname="解决日期" etc="maxLength='19' size='19'"/>
			<EF:EFInput blockId="result_add" row="0" type="hidden" ename="fdDeadlineTime" cname="解决时间"/>
			
			<table>
				<tr>
					<td nowrap width="20%" align="right">问题状态：</td>
					<td nowrap width="30%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdProblemStatus"  etc="disabled='disabled' style='width:140.8px;'">  
							<EF:EFOptions blockId="cmes.cp.problemStatus" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect> 
					</td> 
					<td nowrap width="20%" align="right">提出人：</td>
					<td nowrap width="30%"><EF:EFInput blockId="result_add" ename="fdSubmitor" row="0" type="text" etc="style='width:140.8px;'"/></td> 
					<td nowrap width="20%" align="right">*提出部门：</td>
					<td nowrap width="30%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdSubmitorDepartmentId" etc="style='width:140.8px;'">
							<%-- <EF:EFOption label="" value=""/> --%>
							<EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
						</EF:EFSelect>
					</td> 
				</tr> 
				<tr>
					<td nowrap width="20%" align="right">问题类型：</td>
					<td nowrap width="30%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdProblemTypeId" etc="style='width:140.8px;'">
							<%-- <EF:EFOption label="" value=""/> --%>
							<EF:EFOptions blockId="cmes.cp.problemType" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect>
					</td>
					<td nowrap width="20%" align="right">问题级别：</td>
					<td nowrap width="30%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdProblemLevelId" etc="style='width:140.8px;'">
							<%-- <EF:EFOption label="" value=""/> --%>
							<EF:EFOptions blockId="cmes.cp.problemLevel" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect></td>
					<td nowrap width="20%" align="right">问题来源：</td>
					<td nowrap width="30%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdProblemOrigin" etc="style='width:140.8px;'">
							<%-- <EF:EFOption label="" value=""/> --%>
							<EF:EFOptions blockId="cmes.cp.problemOrigin" labelColumn="display" valueColumn="value"></EF:EFOptions>
						</EF:EFSelect>
					</td>
				</tr> 
				<tr>
					<td nowrap width="20%" align="right">*发生地点：</td>
					<td nowrap width="30%"><EF:EFInput blockId="result_add" row="0" type="text" ename="fdProblemPlace" etc="style='width:140.8px;'"/></td>
					<td nowrap width="20%" align="right">*责任部门：</td>
					<td nowrap width="30%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdBusinessDepartmentId" etc="style='width:140.8px;'">
							<%-- <EF:EFOption label="" value=""/> --%>
							<EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
						</EF:EFSelect>
					</td>
					<td nowrap width="20%" align="right">*责任人：</td>
					<td nowrap width="30%"><EF:EFInput blockId="result_add" row="0" type="text" ename="fdBusinessMan" etc="style='width:140.8px;'"/></td>
				</tr> 
				<tr>
					<td nowrap width="20%" align="right">*问题描述:</td>
					<td nowrap width="80%" colspan="5"><EF:EFInput blockId="result_add" row="0" type="textarea" ename="fdProblemDescription" etc=" rows='6' cols='180'"/></td>     
				</tr> 
				<tr>
					<td nowrap width="20%" align="right">录入人：</td>
					<td nowrap width="30%"><EF:EFInput blockId="result_add" row="0" type="text" ename="fdCreateUser" etc="readonly='readonly' style='width:140.8px;'"/></td> 
					<td nowrap width="20%" align="right">*发生时间：</td>
					<td nowrap width="30%"><EF:EFInput blockId="result_add" row="0" type="text" ename="fdProblemDateTime" popup="datetime" etc="maxLength='19' size='19' onchange=changeDateAndTime('result_add','fdProblem') style='width:124.8px;'"/></td> 
					<td nowrap width="20%" align="right">*解决时间：</td>
					<td nowrap width="30%"><EF:EFInput blockId="result_add" row="0" type="text" ename="fdDeadlineDateTime" popup="datetime" etc="maxLength='19' size='19' onchange=changeDateAndTime('result_add','fdDeadline') style='width:124.8px;'"/></td>        
				</tr> 
				<tr>
					<td nowrap width="20%" align="right">是否重复问题：</td>
					<td nowrap width="30%">
						<EF:EFSelect blockId="result_add" row="0" ename="fdIsRepeat" etc="style='width:140.8px;'">
							<%-- <EF:EFOption label="" value=""/> --%>
							<EF:EFOption label="否" value="否"/> 
							<EF:EFOption label="是" value="是"/> 
						</EF:EFSelect>
					</td>     
				</tr>
				<tr>
					<td nowrap width="20%" align="right">备注:</td>
					<td nowrap width="80%" colspan="5"><EF:EFInput blockId="result_add" row="0" type="textarea" ename="fdRemarks" etc="rows='6' cols='180' "/></td>     
				</tr> 
			</table>		 
		</div> 
	 	
 	
	</EF:EFForm> 
</EF:EFBody> 
</html>